import request from "@/utils/request"

function addressList(data){
  return request({
    url:`/lejuAdmin/companyAddress/addressList`,
    method:"get",
    data
  })
}
function setSendOne(data){
  return request({
    url:`/lejuAdmin/companyAddress/setSendOne`,
    method:"post",
    data
  })
}
function save(data){
  return request({
    url:`/lejuAdmin/companyAddress/save`,
    method:"post",
    data
  })
}
function update(data){
  return request({
    url:`/lejuAdmin/companyAddress/update`,
    method:"post",
    data
  })
}

export {
  addressList,
  setSendOne,
  save,
  update
}